<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/4/11
 * Time: 17:32
 */

return array(
    // 代理配置
    /*
        权限（
            是否可登录代理平台[0-否，1-是],
            是否可添加下级会员[0-否，1-是],
            是否可设置风险率[0-否，1-是],
            是否可进行后台直充[0-否，1-是]
        )
    */
    /*
         设置(
            是否需要交付保证金[0-否，1-是],
            是否有返佣[0-否，1-是],
            是否需要设置风险率[0-否，1-是],
         )
     */
    'AGENTCONFIG'=>array(
        array(
            "name"=>"系统总后台",
            "group_name"=>"系统总后台",
            "type"=>'pt',
            "level"=>0,
            "config"=>array(1,1,1,1),
            "setting"=>array(0,1,0)
        ),
        array(
            "field"=>"operation_center",
            "name"=>"运营中心",
            "group_name"=>"运营中心",
            "type"=>'zx',
            "level"=>1,
            "config"=>array(1,1,0,0),
            "setting"=>array(0,1,0)
        ),
        array(
            "field"=>"member_unit",
            "name"=>"会员单位",
            "group_name"=>"会员单位",
            "type"=>'dl',
            "level"=>2,
            "config"=>array(1,1,0,0),
            "setting"=>array(1,1,1)
        ),
        array(
            "field"=>"micro_ring",
            "name"=>"微圈",
            "group_name"=>"微圈",
            "type"=>'wq',
            "level"=>3,
            "config"=>array(1,1,0,0),
            "setting"=>array(0,1,0)
        ),
        array(
            "name"=>"经纪人",
            "group_name"=>"经纪人",
            "type"=>'jjr',
            "level"=>4,
            "config"=>array(0,0,0,0),
            "setting"=>array(0,1,0),
            "tabs"=>array(
                array("view"=>"order","name"=>"操盘记录"),
                array("view"=>"ins","name"=>"出入金记录"),
                array("view"=>"tradeDetail","name"=>"资金流水"),
                // array("view"=>"bankrollAdjust","name"=>"资金调整")
            )
        ),
        array(
            "name"=>"客户",
            "group_name"=>"普通客户",
            "type"=>'kh',
            "level"=>5,
            "config"=>array(0,0,0,0),
            "setting"=>array(0,0,0),
            "tabs"=>array(
                array("view"=>"position_order","name"=>"当前持仓"),
                array("view"=>"order","name"=>"操盘记录"),
                array("view"=>"ins","name"=>"出入金记录"),
                array("view"=>"tradeDetail","name"=>"资金流水"),
                // array("view"=>"bankrollAdjust","name"=>"资金调整")
            )
        ),
    )
);